<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href="http://www.nbshop.com/Home/css/style.css" />
    <!--[if IE 6]>
    <script src="js/iepng.js" type="text/javascript"></script>
        <script type="text/javascript">
           EvPNG.fix('div, ul, img, li, input, a'); 
        </script>
    <![endif]-->    
    <script type="text/javascript" src="http://www.nbshop.com/Home/js/jquery-1.11.1.min_044d0927.js"></script>
	<script type="text/javascript" src="http://www.nbshop.com/Home/js/jquery.bxslider_e88acd1b.js"></script>
    
    <script type="text/javascript" src="http://www.nbshop.com/Home/js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="http://www.nbshop.com/Home/js/menu.js"></script>    
        
	<script type="text/javascript" src="http://www.nbshop.com/Home/js/select.js"></script>
    
	<script type="text/javascript" src="http://www.nbshop.com/Home/js/lrscroll.js"></script>
    
    <script type="text/javascript" src="http://www.nbshop.com/Home/js/iban.js"></script>
    <script type="text/javascript" src="http://www.nbshop.com/Home/js/fban.js"></script>
    <script type="text/javascript" src="http://www.nbshop.com/Home/js/f_ban.js"></script>
    <script type="text/javascript" src="http://www.nbshop.com/Home/js/mban.js"></script>
    <script type="text/javascript" src="http://www.nbshop.com/Home/js/bban.js"></script>
    <script type="text/javascript" src="http://www.nbshop.com/Home/js/hban.js"></script>
    <script type="text/javascript" src="http://www.nbshop.com/Home/js/tban.js"></script>
	<script type="text/javascript" src="http://www.nbshop.com/Home/js/lrscroll_1.js"></script>
    
    
<title>NBshop</title>
</head>
<body>  
<!--Begin Header Begin-->
<?php echo $__env->make('Home.parent', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<div class="top">
    <div class="logo"><a href=""><img src="/Home/images/nb.png" / width="207px" height="55px"></a></div>
    <div class="search">
    	<form action="http://www.nbshop.com/home/search" method="post">
            <?php echo csrf_field(); ?>

        	<input type="text" value="" name="keyword" class="s_ipt" />
            <input type="submit" value="搜索" class="s_btn" />
        </form>                      
        <span class="fl">
        <?php foreach($hot_search_terms as $val): ?>
        <a href="search/<?php echo e($val->keyword); ?>"><?php echo e($val->keyword); ?></a>
        <?php endforeach; ?>
        </span>
    </div>
    <div class="i_car">
    	<div class="car_t"><a href="/home/buycar" style="color:#ff4e00;">购物车</a> [ <span>3</span> ]</div>
        <div class="car_bg">
       		<!--Begin 购物车未登录 Begin-->
            <?php if(Session::has('user_name')): ?>
            <div class="un_login">当前用户：<?php echo e(Session::get('user_name')); ?></div>
            <?php else: ?>
        	<div class="un_login">还未登录！<a href="login" style="color:#ff4e00;">马上登录</a> 查看购物车！</div>
            <?php endif; ?>
            <!--End 购物车未登录 End-->
            <!--Begin 购物车已登录 Begin-->
            <ul class="cars">
            	<li>
                	<div class="img"><a href="#"><img src="/Home/images/car1.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">法颂浪漫梦境50ML 香水女士持久清新淡香 送2ML小样3只</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
                <li>
                	<div class="img"><a href="#"><img src="/Home/images/car2.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">香奈儿（Chanel）邂逅活力淡香水50ml</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
                <li>
                	<div class="img"><a href="#"><img src="/Home/images/car2.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">香奈儿（Chanel）邂逅活力淡香水50ml</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
            </ul>
            <div class="price_sum">共计&nbsp; <font color="#ff4e00">￥</font><span>1058</span></div>
            <div class="price_a">
            <?php if(Session::has('user_name')): ?>
            <a href="/home/buycar">去购物车结算</a>
            <?php else: ?>
            <a href="javascript:void" onclick="alert_login()">去购物车结算</a>
            <?php endif; ?>
            </div>
            <!--End 购物车已登录 End-->
        </div>
    </div>
</div>
<script>
    function alert_login(){
        alert("您还没有登录，请先登录！");
        window.location.href="http://www.nbshop.com/home/login";
    }
</script>
<!--End Header End--> 
<!--Begin Menu Begin-->
<div class="menu_bg">
	<div class="menu">
    	<!--Begin 商品分类详情 Begin-->    
    	<div class="nav">
        	<div class="nav_t">全部商品分类</div>
            <div class="leftNav">
            <?php if(empty($ak)): ?>
             <?php $ak=array();?>
            <?php else: ?>
                <?php foreach($ak as $key => $value): ?>   
                    <ul> 
                        <li>
                        	<div class="fj">
                            	<span class="n_img"><span></span><img src="/Home/images/nav1.png" /></span>
                                <span class="fl"   ><?php echo e($value->cate_name); ?></span>
                            </div>
                            <div class="zj" style='top:<?php echo e($key*(-40)); ?>px';>
                                <div class="zj_l">
                                <?php if(empty($value->child)): ?>
                                   <?php $value->child=array();?>
                                <?php else: ?>
                                    <?php foreach($value->child as $k): ?> 
                                        <div class="zj_l_c">
                                           <h2><?php echo e($k->cate_name); ?></h2>
                                           <?php if(empty($k->child)): ?>
                                               <?php $k->chlid=array();?>
                                           <?php else: ?>
                                               <?php foreach($k->child as $v): ?> 
                                                <a href="home/categorylist"><?php echo e($v->cate_name); ?></a>|
                                               <?php endforeach; ?> 
                                           <?php endif; ?>
                                        </div>
                                   <?php endforeach; ?> 
                               <?php endif; ?>
                                </div>
                                <div class="zj_r">
                                    <a href="#"><img src="/Home/images/n_img1.jpg" width="236" height="200" /></a>
                                    <a href="#"><img src="/Home/images/n_img2.jpg" width="236" height="200" /></a>
                                </div>
                            </div>
                        </li>
                    </ul>  
                      <?php endforeach; ?>  
                  <?php endif; ?>        
            </div>
        </div>  
        <!--End 商品分类详情 End-->                                                     
    	<ul class="menu_r">                                                                                                                                               
        	<li><a href="home/index">首页</a></li>
            <li><a href="Food.html">美食</a></li>
            <li><a href="Fresh.html">生鲜</a></li>
            <li><a href="HomeDecoration.html">家居</a></li>
            <li><a href="SuitDress.html">女装</a></li>
            <li><a href="MakeUp.html">美妆</a></li>
            <li><a href="Digital.html">数码</a></li>
            <li><a href="GroupBuying.html">汽车</a></li>
        </ul>
        <div class="m_ad">NBshop！</div>
    </div>
</div>
<!--End Menu End--> 
<div class="i_bg bg_color">
	<div class="i_ban_bg">
		<!--Begin Banner Begin-->
    	<div class="banner">  
            <div class="top_slide_wrap">
                <ul class="slide_box bxslider">
                <?php if(empty($photo)): ?>
                   <?php $photo=array();?>
                <?php else: ?>

                    <?php foreach($photo as $val): ?>
                        <li><a href="<?php echo e($val->url); ?>"><img src="/<?php echo e($val->image); ?>" width="740" height="401" title="<?php echo e($val->name); ?>" /></a></li>

                    <?php endforeach; ?>
                <?php endif; ?>
                </ul>	
                <div class="op_btns clearfix">
                    <a href="#" class="op_btn op_prev"><span></span></a>
                    <a href="#" class="op_btn op_next"><span></span></a>
                </div>        
            </div>
        </div>
        <script type="text/javascript">
        //var jq = jQuery.noConflict();
        (function(){
            $(".bxslider").bxSlider({
                auto:true,
                prevSelector:jq(".top_slide_wrap .op_prev")[0],nextSelector:jq(".top_slide_wrap .op_next")[0]
            });
        })();
        </script>
        <!--End Banner End-->
        <div class="inews">
        	<div class="news_t">
            	<span class="fr"><a href="/home/brand">更多 ></a></span>热销品牌
            </div>
            <ul class="tuijian">
            <?php if (empty($brand_hot)): ?>
                <?php echo $brand_hot=array();?>
            <?php else :?>
            	<?php foreach ($brand_hot as $key => $value): ?>
                    <li><span><strong><?php echo $key+1 ?></strong></span><a href="/home/brandlist/<?php echo $value['brand_id'] ?>"><?php echo $value['brand_name'] ?></a></li>
                <?php endforeach ?>
            <?php endif ?>
            </ul>
            <div class="charge_t">
            	话费充值<div class="ch_t_icon"></div>
            </div>
            <form>
            <table border="0" style="width:205px; margin-top:10px;" cellspacing="0" cellpadding="0">
              <tr height="35">
                <td width="33">号码</td>
                <td><input type="text" value="" class="c_ipt" /></td>
              </tr>
              <tr height="35">
                <td>面值</td>
                <td>
                	<select class="jj" name="city">
                      <option value="0" selected="selected">100元</option>
                      <option value="1">50元</option>
                      <option value="2">30元</option>
                      <option value="3">20元</option>
                      <option value="4">10元</option>
                    </select>
                    <span style="color:#ff4e00; font-size:14px;">￥99.5</span>
                </td>
              </tr>
              <tr height="35">
                <td colspan="2"><input type="submit" value="立即充值" class="c_btn" /></td>
              </tr>
            </table>
            </form>
        </div>
    </div>

    <!--Begin 热门商品 Begin-->
    <div class="i_t mar_10">
        <span class="fl">热门商品</span>
        <!-- <span class="i_mores fr"><a href="javascript:void(0)">更多</a></span> -->
    </div>
    <div class="like">  
        <div id="featureContainer1">
            <div id="feature1">
                <div id="block1">
                    <div id="botton-scroll1" style="visibility: visible; overflow: hidden; position: relative; z-index: 2; left: 0px; width: 1200px;">
                        <ul class="featureUL" style="margin: 0px; padding: 0px; position: relative; list-style-type: none; z-index: 1; width: 3600px; left: -2400px;">
                            <?php foreach($hot_goods as $val): ?>
                            <li class="featureBox" style="overflow: hidden; float: left; width: 238px; height: 228px;">
                                <div class="box">
                                    <div class="imgbg">
                                        <a href="javascript:void(0)"><img width="160" height="136" src="<?php echo e($val->goods_img); ?>"></a>
                                    </div>                                        
                                    <div class="name">
                                        <a href="javascript:void(0)">
                                        <h2><?php echo e($val->goods_name); ?></h2>
                                        <?php echo e($val->goods_desc); ?>

                                        </a>
                                    </div>
                                    <div class="price">
                                        <font>￥<span><?php echo e($val->goods_price); ?></span></font> &nbsp; 
                                    </div>
                                </div>
                            </li>
                            <?php endforeach; ?>
                        </ul>
                    </div>
                </div>
                <a href="javascript:void();" class="l_prev">Previous</a>
                <a href="javascript:void();" class="l_next">Next</a>
            </div>
        </div>
    </div>    
    <!--END 热门商品 END -->

    <!--Begin 限时特卖 Begin-->
    <!--
    <div class="i_t mar_10">
    	<span class="fl">限时特卖</span>
        <span class="i_mores fr"><a href="#">更多</a></span>
    </div>
    <div class="content">

        <div class="sell_right">
        	<div class="sell_1">
            	<div class="s_img"><a href="#"><img src="/Home/images/tm_1.jpg" width="185" height="155" /></a></div>
            	<div class="s_price">￥<span>89</span></div>
                <div class="s_name">
                	<h2><a href="#">沙宣洗发水</a></h2>
                    倒计时：<span>1200</span> 时 <span>30</span> 分 <span>28</span> 秒
                </div>
            </div>
            <div class="sell_2">
            	<div class="s_img"><a href="#"><img src="/Home/images/tm_2.jpg" width="185" height="155" /></a></div>
            	<div class="s_price">￥<span>289</span></div>
                <div class="s_name">
                	<h2><a href="#">德芙巧克力</a></h2>
                    倒计时：<span>1200</span> 时 <span>30</span> 分 <span>28</span> 秒
                </div>
            </div>
            <div class="sell_b1">
            	<div class="sb_img"><a href="#"><img src="/Home/images/tm_b1.jpg" width="242" height="356" /></a></div>
            	<div class="s_price">￥<span>289</span></div>
                <div class="s_name">
                	<h2><a href="#">东北大米</a></h2>
                    倒计时：<span>1200</span> 时 <span>30</span> 分 <span>28</span> 秒
                </div>
            </div>

            <div class="sell_3">
            	<div class="s_img"><a href="#"><img src="/Home/images/tm_3.jpg" width="185" height="155" /></a></div>
            	<div class="s_price">￥<span>289</span></div>
                <div class="s_name">
                	<h2><a href="#">迪奥香水</a></h2>
                    倒计时：<span>1200</span> 时 <span>30</span> 分 <span>28</span> 秒
                </div>
            </div>
            <div class="sell_4">
            	<div class="s_img"><a href="#"><img src="/Home/images/tm_4.jpg" width="185" height="155" /></a></div>
            	<div class="s_price">￥<span>289</span></div>
                <div class="s_name">
                	<h2><a href="#">美妆</a></h2>
                    倒计时：<span>1200</span> 时 <span>30</span> 分 <span>28</span> 秒
                </div>
            </div>
            <div class="sell_b2">
            	<div class="sb_img"><a href="#"><img src="/Home/images/tm_b2.jpg" width="242" height="356" /></a></div>
            	<div class="s_price">￥<span>289</span></div>
                <div class="s_name">
                	<h2><a href="#">美妆</a></h2>
                    倒计时：<span>1200</span> 时 <span>30</span> 分 <span>28</span> 秒
                </div>
            </div>
            <div class="sell_1">
                <div class="s_img"><a href="#"><img src="/Home/images/tm_1.jpg" width="185" height="155" /></a></div>
                <div class="s_price">￥<span>89</span></div>
                <div class="s_name">
                    <h2><a href="#">沙宣洗发水</a></h2>
                    倒计时：<span>1200</span> 时 <span>30</span> 分 <span>28</span> 秒
                </div>
            </div>
            <div class="sell_2">
                <div class="s_img"><a href="#"><img src="/Home/images/tm_2.jpg" width="185" height="155" /></a></div>
                <div class="s_price">￥<span>289</span></div>
                <div class="s_name">
                    <h2><a href="#">德芙巧克力</a></h2>
                    倒计时：<span>1200</span> 时 <span>30</span> 分 <span>28</span> 秒
                </div>
            </div>            
        </div>
    </div>
    -->
    <!--End 限时特卖 End-->
    <div class="content mar_20">
       <span class="fl i_t mar_10">精品特卖1</span>
        <?php if(is_int($adv1)): ?>
        <br /><br /><h2 style="color:red;text-align:center;">广告位正在火热招商中......<br />招商电话：88888888</h2>
        <?php else: ?>
    	<a href="<?php echo $adv1->url?>"><img src="/<?php echo $adv1->image?>" width="1200" height="110" title="<?php echo $adv1->name;?>" /></a>
        <?php endif; ?>
    </div>
	<!--Begin 进口 生鲜 Begin-->
    <div class="i_t mar_10">
    	<span class="floor_num">1F</span>
    	<span class="fl">智能手机</span>                
<!--         <span class="i_mores fr"><a href="#">进口咖啡</a>&nbsp; &nbsp; &nbsp; <a href="#">进口酒</a>&nbsp; &nbsp; &nbsp; <a href="#">进口母婴</a>&nbsp; &nbsp; &nbsp; <a href="#">新鲜蔬菜</a>&nbsp; &nbsp; &nbsp; <a href="#">新鲜水果</a></span> -->
    </div>
    <div class="content">
        <div class="fresh_mid">
        	<ul>
            <?php foreach($floor1 as $k): ?>
            	<li>
                	<div class="name"><a href="home/product/<?php echo e($k->goods_id); ?>"><?php echo e($k->goods_name); ?></a></div>
                    <div class="price">
                    	<font>￥<span><?php echo e($k->goods_price); ?></span></font>
                    </div>
                    <div class="img"><a href="home/product/<?php echo e($k->goods_id); ?>"><img src="<?php echo e($k->goods_img); ?>" width="185" height="155" /></a></div>
                </li>              
             <?php endforeach; ?>                                                    
            </ul>
        </div>

    </div>    
    <!--End 进口 生鲜 End-->

    <!-- Begin 广告 Begin -->
    <div class="content mar_20">
       <span class="fl i_t mar_10">精品特卖2</span>

        <?php if(is_int($adv2)): ?>
        <br /><br /><h2 style="color:red;text-align:center;">广告位正在火热招商中......<br />招商电话：88888888</h2>
        <?php else: ?>
        <a href="<?php echo $adv1->url?>"><img width="1200" height="110" src="/<?php echo $adv2->image;?>" title="<?php echo $adv2->name;?>"></a>
        <?php endif; ?>

    </div>    
    <!-- End 广告 End -->

    <!--Begin 食品饮料 Begin-->
    <div class="i_t mar_10">
    	<span class="floor_num">2F</span>
    	<span class="fl">女装</span>                                
    </div>
    <div class="content">

        <div class="fresh_mid">
        	<ul>
            <?php foreach($floor2 as $k): ?>
                <li>
                    <div class="name"><a href="home/product/<?php echo e($k->goods_id); ?>"><?php echo e($k->goods_name); ?></a></div>
                    <div class="price">
                        <font>￥<span><?php echo e($k->goods_price); ?></span></font>
                    </div>
                    <div class="img"><a href="home/product/<?php echo e($k->goods_id); ?>"><img src="<?php echo e($k->goods_img); ?>" width="185" height="155" /></a></div>
                </li>              
             <?php endforeach; ?>    

            </ul>
        </div>
    </div>    
    <!--End 食品饮料 End-->

    <!-- Begin 广告 Begin -->
    <div class="content mar_20">
    <span class="fl i_t mar_10">精品特卖3</span>
        <?php if(is_int($adv3)): ?>
        <br /><br /><h2 style="color:red;text-align:center;">广告位正在火热招商中......<br />招商电话：88888888</h2>
        <?php else: ?>
        <a href="<?php echo $adv1->url?>"><img width="1200" height="110" src="/<?php echo $adv3->image?>" title="<?php echo $adv3->name;?>"></a>
        <?php endif; ?>
    </div>    
    <!-- End 广告 End -->

    <!--Begin 个人美妆 Begin-->
    <div class="i_t mar_10">
    	<span class="floor_num">3F</span>
    	<span class="fl">食品<b> · </b>生鲜</span>                                
    </div>
    <div class="content">
        <div class="fresh_mid">
        	<ul>
            <?php foreach($floor3 as $k): ?>
                <li>
                    <div class="name"><a href="home/product/<?php echo e($k->goods_id); ?>"><?php echo e($k->goods_name); ?></a></div>
                    <div class="price">
                        <font>￥<span><?php echo e($k->goods_price); ?></span></font>
                    </div>
                    <div class="img"><a href="home/product/<?php echo e($k->goods_id); ?>"><img src="<?php echo e($k->goods_img); ?>" width="185" height="155" /></a></div>
                </li>              
             <?php endforeach; ?>    
            </ul>
        </div>
    </div>    
  
    </div>    
    <!--End 数码家电 End-->
    <!--Begin 猜你喜欢 Begin-->
    <div class="i_t mar_10">
    	<span class="fl">猜你喜欢</span>
    </div>    
    <div class="like">        	
        <div id="featureContainer1">
            <div id="feature1">
                <div id="block1">
                    <div id="botton-scroll1">
                        <ul class="featureUL">
                            <?php foreach($like_goods as $val): ?>
                            <li class="featureBox" style="overflow: hidden; float: left; width: 238px; height: 228px;">
                                <div class="box">
                                    <div class="imgbg">
                                        <a href="javascript:void(0)"><img width="160" height="136" src="<?php echo e($val->goods_img); ?>"></a>
                                    </div>                                        
                                    <div class="name">
                                        <a href="javascript:void(0)">
                                        <h2><?php echo e($val->goods_name); ?></h2>
                                        <?php echo e($val->goods_desc); ?>

                                        </a>
                                    </div>
                                    <div class="price">
                                        <font>￥<span><?php echo e($val->goods_price); ?></span></font> &nbsp; 
                                    </div>
                                </div>
                            </li>
                            <?php endforeach; ?>
                        </ul>
                    </div>
                </div>
                <a href="javascript:void();" class="l_prev">Previous</a>
                <a href="javascript:void();" class="l_next">Next</a>
            </div>
        </div>
    </div>
    <!--End 猜你喜欢 End-->
    
    <!--Begin Footer Begin -->
     <div class="b_btm_bg b_btm_c">
        <div class="b_btm">
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b1.png" width="62" height="62" /></td>
                <td><h2>正品保障</h2>正品行货  放心购买</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b2.png" width="62" height="62" /></td>
                <td><h2>满38包邮</h2>满38包邮 免运费</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b3.png" width="62" height="62" /></td>
                <td><h2>天天低价</h2>天天低价 畅选无忧</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="/Home/images/b4.png" width="62" height="62" /></td>
                <td><h2>准时送达</h2>收货时间由你做主</td>
              </tr>
            </table>
        </div>
    </div>
   <!--  <?php echo $__env->make('Home.foot', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> -->
     <!-- 友情链接 -->
    <div class="b_nav" align="center" style="font-size:15px;">
        <?php if(empty($link)): ?>
         <?php $link=array(); ?>
        <?php else: ?>
        <?php foreach($link as $key=>$value): ?>

        <span><a href="<?php echo e($value->link_url); ?>"><?php echo e($value->link_name); ?></a>&nbsp;</span>
        <b>|</b>
        <?php endforeach; ?>   
        <?php endif; ?>
    </div>
    <div class="btmbg">
        <div class="btm">
            备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com   Copyright © 2015-2018 NBshop商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group <br />
            <img src="/Home/images/b_1.gif" width="98" height="33" /><img src="/Home/images/b_2.gif" width="98" height="33" /><img src="/Home/images/b_3.gif" width="98" height="33" /><img src="/Home/images/b_4.gif" width="98" height="33" /><img src="/Home/images/b_5.gif" width="98" height="33" /><img src="/Home/images/b_6.gif" width="98" height="33" />
        </div>      
    </div>
<!--   -->  

</body>


<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>
<script>
  
</script>